package cn.enjoy.design.structure.zuhe.logic.impl;

import cn.enjoy.design.structure.zuhe.logic.BaseLogic;

import java.util.Map;

/**
 * 让每⼀个提供决策能⼒的节点都必须实现此接⼝，保证统⼀性。
 *
 * @author K
 */
public class UserAgeFilter extends BaseLogic {

    @Override
    public String matterValue(Long treeId, String userId, Map<String, String> decisionMatter) {
        return decisionMatter.get("age");
    }

}
